<h2>Ingresar Datos</h2>
<br/>
<div class="margen">
    <table width='450' border='3px' cellpadding='0' cellspacing='0' bordercolor='#d1ccc7'>
        <tr>
            <td>
                <div class="margen">
                    <% form_for(@horsedata) do |f| %>
                    <%= f.error_messages %>
                    <p>
                        <%= f.label 'Caballo' %>
                        <br/>
                        <%= f.text_field :horse_id %>
                    </p>
                    <p>
                        <%= f.label 'Dueño' %>
                        <br/>
                        <%= f.text_field :owner %>
                    </p>
                    <p>
                        <%= f.label 'Entrenador' %>
                        <br/>
                        <%= f.text_field :trainner %>
                    </p>
                    <p>
                        <%= f.label 'Desccripción' %>
                        <br/>
                        <%= f.text_area :description %>
                    </p>
                    <p>
                        <%= f.submit 'Crear' %>
                    </p>
                    <% end %>
                </div>
            </td>
        </tr>
    </table>
</div>
